<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>导航站</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
    <h1>导航站</h1>

    {% for category in categories %}
        <div class="category">
            <h2>{{ category.name }}</h2>
            <ul>
                {% for website in category.websites %}
                    <li>
                        <a href="{{ website.url }}" target="_blank">{{ website.title }}</a>
                        <p>{{ website.description }}</p>
                    </li>
                {% endfor %}
            </ul>
        </div>
    {% endfor %}
</body>
</html>